<!--- 
@%HEADER%@


Copyright @%CUR_YEAR%@ Seb Duggan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->

<cfoutput>

<form method="post" action="#cgi.script_name#">
	
	<fieldset>
		<legend>Pod settings</legend>
		<p>
			<label for="podTitle">Pod title</label>
			<span class="hint">Enter the title you wish to give your login pod.</span>
			<span class="field"><input type="text" id="podTitle" name="podTitle" class="required" value="#HTMLEditFormat(getSetting("podTitle"))#" size="40"/></span>
		</p>
		<p>
			<label for="privateHomePage">Private site homepage</label>
			<span class="hint">This is the page the user will go to when logged in. Include the trailing "/".</span>
			<span class="field"><input type="text" id="privateHomePage" name="privateHomePage" class="required" value="#HTMLEditFormat(getSetting("privateHomePage"))#" size="40"/></span>
		</p>
		
		<p>
			<label for="podTextLogin">Login form text</label>
			<span class="hint">This text will appear before the log-in form in the pod. Enter one line of plain text.</span>
		    <span class="field"><textarea id="podTextLogin" name="podTextLogin" cols="60" rows="3" class="required">#HTMLEditFormat(getSetting("podTextLogin"))#</textarea></span>
		</p>
		
		<p>
			<label for="podTextLogout">Logged-in text</label>
			<span class="hint">This text will appear in the pod when the user is logged in. <strong>{name}</strong> is replaced by the user's full name. Enter one line of plain text ("logout" link is added automatically).</span>
		    <span class="field"><textarea id="podTextLogout" name="podTextLogout" cols="60" rows="3" class="required">#HTMLEditFormat(getSetting("podTextLogout"))#</textarea></span>
		</p>
	</fieldset>
	
	
	<div class="actions">
		<input type="submit" class="primaryAction" value="Submit"/>
		<input type="hidden" name="action" value="event" />
		<input type="hidden" name="event" value="TwoMangoesPublicSettings" />
		<input type="hidden" name="apply" value="true" />
		<input type="hidden" name="selected" value="TwoMangoesPublic" />
	</div>


</cfoutput>